#pragma once
#include <vector>
#include <vulkan/vulkan.h>
#include <stdexcept>
#include <string>
class VKShader
{
public:
	VKShader(const std::string& vertFilePath, const std::string& fragFilePath);
	~VKShader();

	std::vector<VkPipelineShaderStageCreateInfo> m_ShaderStages;
	std::string m_ShaderName;

	VkShaderModule m_VertexShaderModule;
	VkShaderModule m_FragmentShaderModule;
private:
	VkShaderModule CreateShaderModule(const std::vector<char> code);
	std::vector<char> ReadShaderFile(const std::string& fileName);
};

